﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DefeatEpidemic.Models
{
    /// <summary>
    /// 登记出行记录(独立表单)
    /// </summary>
    public class Record
    {
        public Guid id { get; set; } = Guid.NewGuid();
        /// <summary>
        /// 从哪来
        /// </summary>
        public string from { get; set; }
        /// <summary>
        /// 到哪去
        /// </summary>
        public string to { get; set; }
        /// <summary>
        /// 出行时间
        /// </summary>
        public DateTime outdate { get; set; }
        /// <summary>
        /// 返回时间
        /// </summary>
        public DateTime backdate { get; set; }
        /// <summary>
        /// 登记人员
        /// </summary>
        public string numberName { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string idCard { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string carNumber { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime created_at { get; set; } = DateTime.Now;
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        //public virtual Family Family { get; set; }
    }
}
